Build Feature
The IntelliJ Platform Gradle Plugin build features dedicated to control some of the low-level Gradle plugin behaviors. To enable or disable a particular feature, add a Project property to the gradle.properties file with the following pattern:
org.jetbrains.intellij.buildFeature.<buildFeatureName>=<true|false>Switch to org.gradle.api.configuration.BuildFeatures when supporting Gradle 8.5+.
Entries
Instruct the IDE that sources are needed to be downloaded when working with IntelliJ Platform Gradle Plugin. Value is passed directly to the Idea Gradle Plugin to the idea.module.downloadSources property.
When the BuildSearchableOptionsTask doesn't produce any results, e.g., when the plugin doesn't implement any settings, a warning is shown to suggest disabling it for better performance with IntelliJPlatformExtension.buildSearchableOptions.
Due to IDE limitations, it is impossible to run the IDE in headless mode to collect searchable options for a paid plugin. As paid plugins require providing a valid license and presenting a UI dialog, it is impossible to handle such a case, and the task will fail. This feature flag displays the given warning when the task is run by a paid plugin.
Checks whether the currently used Gradle IntelliJ Plugin is outdated and if a new release is available. The plugin performs an update check on every run asking the GitHub Releases page for the redirection URL to the latest version with HEAD HTTP request: https://github.com/jetbrains/gradle-intellij-plugin/releases/latest.
By default, JetBrains Cache Redirector is used when resolving Maven repositories or any resources used by the IntelliJ Platform Gradle Plugin. Due to limitations, sometimes it is desired to limit the list of remote endpoints accessed by Gradle.
Some dependencies are tied to IntelliJ Platform build numbers and hosted in the IntelliJ Dependencies Repository. Despite this, certain versions (like EAP or nightly builds) might be absent. To solve this, we fetch a list of all versions from the Maven repository and locate the closest match. This method requires an additional remote repository request. If undesired, this feature can be disabled to strictly match dependencies to your build version.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.